#ifndef SENSOR_SHT41_H
#define SENSOR_SHT41_H

#include <stdint.h>
#include <stdbool.h>
#include <string.h>

typedef enum {
    SHT41_MASTER_H      = 0xFD, /* measurement High Repeatability */
    SHT41_MASTER_M      = 0xF6, /* measurement Medium Repeatability */
    SHT41_MASTER_L      = 0xE0, /* measurement Low Repeatability */
    SHT41_SOFT_RESET    = 0x94
} SHT41Command;

bool sensor_read_temphumi(uint8_t mode, float* temp, float* humi);

#endif